home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / pcb_dv.zip / PCB&DV.TXT
Text File  |  1991-11-07  |  39KB  |  1,123 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                         Setting Up DESQView and PCBoard V14.5a                        Setting Up DESQView and PCBoard V14.5a
  8.  
  9.  
  10.  
  11.          Advantages:         Advantages:
  12.  
  13.               *    Only one computer
  14.               *    Only one monitor
  15.               *    Only one hard drive
  16.               *    Up to 4 nodes are a keyboard away
  17.  
  18.          Disadvantages:         Disadvantages:
  19.  
  20.               *    System is harder to tune; lockups may occur
  21.               *    A system  which  uses more  than  2  COM ports  may  have
  22.                    problems finding third party  software which will support
  23.                    'non-standard' COM ports.
  24.  
  25.          CONTENTS         CONTENTS         ________
  26.  
  27.          Topic                                               Page         Topic                                               Page         ________________________________________________________
  28.          Getting Started . . . . . . . . . . . . . . . . . . .  1
  29.          Modifying CONFIG.SYS  . . . . . . . . . . . . . . . .  3
  30.          Modifying AUTOEXEC.BAT  . . . . . . . . . . . . . . .  4
  31.          Installing Additional Nodes . . . . . . . . . . . . .  5
  32.          Setting Up PCBoard  . . . . . . . . . . . . . . . . .  6
  33.          Optimizing DESQview . . . . . . . . . . . . . . . . .  8
  34.          Example DOOR Batch Files and Environment Variables  . 11
  35.          Third Party Software Setup  . . . . . . . . . . . . . 13
  36.          Hooking Up a Multitasking Machine to a Network  . . . 14
  37.          Answers to Common Questions . . . . . . . . . . . . . 14
  38.          Conclusion  . . . . . . . . . . . . . . . . . . . .   17
  39.  
  40.          GETTING STARTED         GETTING STARTED         _______________
  41.  
  42.          Ok, you have a PCBoard /E3 or higher node version and now  you want
  43.          to know how you  can run/install up to 4 nodes on a single machine.
  44.          This type of  setup can be complicated at first,  but after reading
  45.          this explanation the majority of your questions  about setting up a
  46.          multinode system under DESQview should be answered.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.          How to Run Up to Four Nodes With PCBoard and DESQview     Page: 1         How to Run Up to Four Nodes With PCBoard and DESQview     Page: 1
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.          First you will  need to obtain the necessary  hardware and software
  73.          found in the list below:
  74.  
  75.          Recommended Hardware:         Recommended Hardware:
  76.  
  77.               *  80386/486 based  computer with 2 megabytes plus 512k of RAM
  78.                  for each node.  
  79.               *  AT I/O  card using NS16550AFN  UARTs.   If you plan  to run
  80.                  more than two nodes you may  wish to look into an I/O  card
  81.                  or a special 3 or 4 port  serial card that will let you use
  82.                  configurable  IRQ settings (preferably  one that  uses IRQs
  83.                  above 10)
  84.               *  Floppy drive (5 1/4" or 3 1/2")
  85.               *  Hard drive 
  86.               *  Monitor and video card
  87.  
  88.               NOTE:   It is  not recommended  that you use  an 8088  or
  89.               80286  processor when  attempting to  run  more than  two
  90.               nodes on a single machine.
  91.  
  92.          Necessary Software:         Necessary Software:
  93.  
  94.               * MS-DOS (V3.3 or higher)             * DESQview 386
  95.               * PCBoard V14.5a                      * Disk caching software
  96.  
  97.               NOTE:  If the amount of memory you will have available is
  98.               a  concern you  may wish  to  look into  using the  VROOM
  99.               overlay version of  PCBoard which uses less memory.   The
  100.               overlay  version uses less memory  by storing part of the
  101.               program on disk.
  102.  
  103.          If you only plan on running two multi-tasking nodes using modems on
  104.          COM1 and COM2 then your modem  setup will be REAL easy because  you
  105.          will not need  to worry about any  IRQ conflicts.  However,  if you
  106.          plan on running  more than  2 nodes,  you might run  into some  IRQ
  107.          conflicts.
  108.  
  109.          One  of  the most  important things  you  will need  to do  next is
  110.          resolve  any   and  all   IRQ  conflicts.     IRQs  are   vital  to
  111.          communications.    They  are  interrupt requests  and  are  used by
  112.          various components of a computer system to get the CPU's attention.
  113.          It  is essential that each node has a  unique COM port and each COM
  114.          port will need a unique base address and IRQ to  operate correctly.
  115.          On most high quality I/O boards you can select from a wide range of
  116.          base addresses and  IRQs.  Below you will see a  sample setup for 4
  117.          COM ports:
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.          How to Run Up to Four Nodes With PCBoard and DESQview     Page: 2         How to Run Up to Four Nodes With PCBoard and DESQview     Page: 2
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.                    Base     
  139.               COM  Address   IRQ              __________________
  140.               1    03F8      4   
  141.               2    02F8      3    Note: If you have an autoswitch EGA/VGA
  142.               3    03E8      5    card, disable the autoswitch IRQ on the
  143.               4    02E8      2    card if you use IRQ2 on a COM port. card, 
  144.  
  145.          NOTE:   Finding an I/O card which uses  a wide range of IRQs may be
  146.          hard to locate but you will enjoy the increased flexibility when it
  147.          comes to  setting up a multitasking system.   Another thing to look
  148.          for in a  good I/O  card is  one that comes  with NS16550AFN  UARTs
  149.          built in, or has sockets so you can replace the existing UARTs.  
  150.  
  151.          Once you get the  COM ports setup and installed you  will next want
  152.          to modify your CONFIG.SYS and AUTOEXEC.BAT to work correctly in the
  153.          multitasking environment.   Before modifying  these files,  install
  154.          but do not alter the configuration of DESQView and QEMM.
  155.  
  156.          MODIFYING CONFIG.SYS         MODIFYING CONFIG.SYS         ____________________
  157.  
  158.          At this point, you should make sure you have the following items in
  159.          your CONFIG.SYS:
  160.  
  161.               DEVICE=QEMM.SYS [optional parameters]
  162.               FILES=nn
  163.               STACKS=0,0
  164.               SHELL=C:\DOS\COMMAND.COM C:\DOS\ /E:512 /P
  165.  
  166.               FCBS=n,n (This line is optional)
  167.  
  168.          DEVICE=QEMM.SYS: This is  the line which installs QEMM  and will be         DEVICE=QEMM.SYS:
  169.          placed in  your  CONFIG.SYS automatically  by  QEMM's  installation
  170.          procedure.   You may see additional parameters after QEMM.SYS which
  171.          were  automatically placed there  during installation.   Unless you
  172.          have a  good reason to change them, leave them as is.  One addition
  173.          which you will  want to make to  the optional parameters passed  to
  174.          QEMM is  NW3.   NW3 will tell  QEMM that  Windows 3.x  will not  be
  175.          running on this machine.
  176.  
  177.          FILES=nn: On this line  you need to replace 'nn' with 20 multiplied         FILES=nn:
  178.          by the number of nodes you are planning to run.  For example if you
  179.          are  planning on  running 3 nodes  you would  set this value  to 60
  180.          (20 3).
  181.  
  182.          STACKS=0,0:   This is necessary when running multitasking software.         STACKS=0,0:
  183.  
  184.          FCBS=n,n: FCBs were only  used in older DOS programs so  if you are         FCBS=n,n:
  185.          not running old programs such as Sidekick V1.0 then you may be able
  186.          to omit this line.   The first parameter is the  number of FCBs you
  187.          want, and the second number is the number to lock.
  188.  
  189.  
  190.  
  191.  
  192.          How to Run Up to Four Nodes With PCBoard and DESQview     Page: 3         How to Run Up to Four Nodes With PCBoard and DESQview     Page: 3
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.          SHELL=C:\DOS\COMMAND.COM: Increases the available environment space         SHELL=C:\DOS\COMMAND.COM:
  205.          to 512 bytes.   This should be  plenty of room for  the environment
  206.          variables  that PCBoard  V14.5a will  create along  with any  other
  207.          variables that you may create.
  208.  
  209.          MODIFYING AUTOEXEC.BAT         MODIFYING AUTOEXEC.BAT         ______________________
  210.  
  211.          [1]  -  The  path  to  locate your  PCBoard  V14.5  executable  and
  212.          utilities must be in your PATH= statement.  (Example:  PATH=C:\PCB)
  213.  
  214.          [2]  -  Make  sure  that  SHARE.EXE is  being  loaded  inside  your
  215.          AUTOEXEC.BAT.   Reports have indicated  that loading SHARE  in high
  216.          memory  can impede  system performance  and  cause errors.   It  is
  217.          therefore suggested that SHARE.EXE be run in conventional memory if
  218.          at all possible.
  219.  
  220.          [3] - Add the following line as the last two lines in AUTOEXEC.BAT:
  221.  
  222.               CD\DV
  223.               DV
  224.  
  225.          This will load DESQview on every bootup and is required if you wish
  226.          to recover from disasters such  as power failures.  For information
  227.          on how  to  load up  all of  your PCBoard  nodes  upon starting  up
  228.          DESQview, please  see "Starting Up  PCBoard Nodes Using  a DESQview
  229.          Script" on page 10.
  230.  
  231.          Now  that you  have modified  AUTOEXEC.BAT  and CONFIG.SYS  you are
  232.          ready to install additional PCBoard nodes.
  233.  
  234.               NOTE:    It  is  advised  that  you  do  not  use  QEMM's
  235.               BUFFERS.COM for  your buffers.  Instead, use  a good disk
  236.               cache.
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.          How to Run Up to Four Nodes With PCBoard and DESQview     Page: 4         How to Run Up to Four Nodes With PCBoard and DESQview     Page: 4
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.          INSTALLING ADDITIONAL NODES         INSTALLING ADDITIONAL NODES
  271.  
  272.          NOTE:   If you have not already set  up your first node of PCBoard,
  273.          use INSTALL  to set up your first node.  Next, get all of you files
  274.          created and make  sure the first node is  running properly. It will
  275.          make a multiple node setup MUCH easier.
  276.  
  277.          Creating the NODE directories         Creating the NODE directories
  278.  
  279.          You need  to create a  SEPARATE subdirectory for each  PCBoard node
  280.          you plan to run.
  281.  
  282.          For node 1 create a directory off of your C:\PCB directory and call
  283.          it NODE1.  To do this, just change to the C:\PCB directory and type
  284.          "MD NODE1" (do not include the quotes).   Do this for each node you
  285.          want to add (up to NODE4).  From here on, these directories will be
  286.          referred to as NODE directories.
  287.  
  288.          Now you should have a directory structure that looks like this:
  289.  
  290.               C:\
  291.               |
  292.               |-> PCB
  293.                      |
  294.                      |-> NODE1
  295.                      |-> NODE2
  296.                      |-> NODE3 (if you are going to run 3 nodes)
  297.                      |-> NODE4 (if you are going to run 4 nodes)
  298.  
  299.          Now, copy the following files to each NODEn directory:
  300.  
  301.               BOARD.BAT
  302.               EVENT.SYS
  303.               PCBERR.OLD
  304.               PCBOARD.DAT
  305.               REMOTE.SYS
  306.               PCBVIEW.BAT
  307.  
  308.          For example: "COPY C:\PCB\BOARD.BAT C:\PCB\NODE1".   Do so for each
  309.          file and each node.
  310.  
  311.          Once you  have copied the above list  of files to each  of the NODE
  312.          directories,   delete  the  files  listed  above  from  the  C:\PCB
  313.          directory.  This will prevent PCBoard  from accidently running from
  314.          the wrong directory.
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.          How to Run Up to Four Nodes With PCBoard and DESQview     Page: 5         How to Run Up to Four Nodes With PCBoard and DESQview     Page: 5
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.          SETTING UP PCBOARD         SETTING UP PCBOARD         __________________
  337.  
  338.          PCBSETUP.EXE         PCBSETUP.EXE
  339.  
  340.          (For  this example,  we will  assume that  PCBoard is  installed in
  341.          C:\PCB.)
  342.  
  343.          There are a few setup items which you may wish to change if you are
  344.          running   under  a  multi-tasking  environment.    In  each  node's
  345.          directory do the following:
  346.  
  347.          1.   After  installing PCBoard  run PCBSetup,  select "NODE  /
  348.               EVENT  / SUBSCRIPTION" and modify the following fields on
  349.               the screen:
  350.  
  351.                    Answer YES to "Running under a Network"
  352.  
  353.                    Replace  the value in  "Node Number" to reflect
  354.                    the node number you have assigned to this node.
  355.  
  356.          2.   Whenever  possible,  specify  a  path  to a  file.    This  is
  357.          inclusive of batch files and your  setup  of  PCBoard  in  general.
  358.          This can enhance the speed of your system, especially  if  you  are
  359.          running EXE files from the PATH.
  360.  
  361.          3.   In "File Locations 2" make sure  PCBPROT.DAT contains the path
  362.          to locate the file.      For  example:  C:\PCB\PCBPROT.DAT.   Since
  363.          you are pointing to one file you will find   adding,  changing,  or
  364.          deleting protocols a lot easier.
  365.  
  366.          4.   Also in  "File Locations 2" make sure that  there is a path is
  367.          specified for  PCBFILER.DEF.   For   example:  C:\PCB\PCBFILER.DEF.
  368.          This way, your file      directories will be colorized "on-the-fly"
  369.          with the colors you defined in PCBFiler.
  370.  
  371.          NOTE:    Since you  are  only  going to  running  PCBoard  from one
  372.          machine,  most of  your configuration  files  will not  need to  be
  373.          changed from your single node setup.
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.          How to Run Up to Four Nodes With PCBoard and DESQview     Page: 6         How to Run Up to Four Nodes With PCBoard and DESQview     Page: 6
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.          BOARD.BAT         BOARD.BAT
  403.  
  404.          The default BOARD.BAT in each node's directory looks like this:
  405.  
  406.               @echo off
  407.               set DSZLOG=C:\PCB\PCBDSZ.LOG
  408.               if exist REMOTE.BAT rename REMOTE.BAT REMOTE.SYS
  409.               if exist EVENT.BAT rename EVENT.BAT EVENT.SYS
  410.               if exist DOOR.BAT del DOOR.BAT
  411.               if exist ENDPCB del ENDPCB
  412.               PCB145
  413.               if exist REMOTE.BAT REMOTE
  414.               if exist DOOR.BAT DOOR
  415.               if exist EVENT.BAT EVENT
  416.               if exist ENDPCB goto end
  417.               :end
  418.               exit
  419.  
  420.          You will  need to  modify each  node's BOARD.BAT  file so  that the
  421.          batch  file changes to  the directory where the  node resides.  For
  422.          example node 1's new batch file would look like this:
  423.  
  424.               @echo off
  425.               C:              C:
  426.               cd\PCB\NODE1   (Change to each nodes 'home' directory)              cd\PCB\NODE1
  427.               C:\DV\DVANSI   (Loads an ANSI driver for third party programs)              C:\DV\DVANSI
  428.               set DSZPORT=bbb,i   (bbb = hex com base address and i = IRQ)              set DSZPORT=bbb,i
  429.               set DSZLOG=C:\PCB\NODE1\PCBDSZ.LOG (Change this for each node)              set DSZLOG=C:\PCB\NODE1\PCBDSZ.LOG
  430.               if exist REMOTE.BAT rename REMOTE.BAT REMOTE.SYS
  431.               if exist EVENT.BAT rename EVENT.BAT EVENT.SYS
  432.               if exist DOOR.BAT del DOOR.BAT
  433.               if exist ENDPCB del ENDPCB
  434.               PCB145
  435.               if exist REMOTE.BAT REMOTE
  436.               if exist DOOR.BAT DOOR
  437.               if exist EVENT.BAT EVENT
  438.               if exist ENDPCB goto end
  439.               :end
  440.               exit
  441.  
  442.          DSZPORT:  By placing this in each node's BOARD.BAT file you can use
  443.          just one PCBRZ.BAT  and one PCBSZ.BAT which  can save you a  lot of
  444.          time when/if you need to change either of those batch files.
  445.          DSZLOG:   This environment  variable points to  the log  file which
  446.          PCBoard uses to determined what files were transferred by DSZ.
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.          How to Run Up to Four Nodes With PCBoard and DESQview     Page: 7         How to Run Up to Four Nodes With PCBoard and DESQview     Page: 7
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.          OPTIMIZING DESQVIEW         OPTIMIZING DESQVIEW
  469.  
  470.          Next you will need to alter DESQview's setup slightly.  Go into you
  471.          DESQview directory and run SETUP.
  472.  
  473.          Next, select "Performance".
  474.  
  475.          Your screen should look something like this:
  476.  
  477.               *1--Advanced-Setup:-Performance----------*
  478.               |                                        |
  479.               |  Task Processing Time (in Clock Ticks) |
  480.               |            Foreground:    2            |
  481.               |            Background:    2            |
  482.               |                                        |
  483.               |  Memory Usage (in K)                   |
  484.               |      Common Memory:      17            |
  485.               |      DOS Buffer for EMS: 4             |
  486.               |                                        |
  487.               |  Optimize communications?    (Y/N): N  |
  488.               |  Allow swapping of programs? (Y/N): Y  |
  489.               |  Manage printer contention?  (Y/N): N  |
  490.               |                                        |
  491.               |           Next field     Tab           |
  492.               |           Backup menu    Esc           |
  493.               |           DONE           <             |
  494.               |                                        |
  495.               *----------------------------------------*
  496.  
  497.          Foreground and  Background Processing  Time: It  is very  important         Foreground and  Background Processing  Time:
  498.          that you set the foreground and background ticks to an equal value.
  499.          Otherwise, your system will likely suffer a performance degradation
  500.          which callers  may perceive  as an  intermittent, jerking  display.
  501.          The exact value  for these two values varies, depending on how many
  502.          nodes you  are running and  the processing speed of  your computer.
  503.          Avoid setting  these values  to 1:1, which  may result  in sluggish
  504.          system  performance.   You can  experiment with  this value  to see
  505.          which works best  on your machine, though 2:2  or 3:3 usually seems
  506.          to be a good choice.
  507.  
  508.          Two of  the most important  settings you will change  are "Optimize
  509.          Communications" and "Manage printer contention".  Set both of these
  510.          to N to help avoid possible system lockups.            N
  511.  
  512.          Node PIF configurations         Node PIF configurations
  513.  
  514.          Now  you must define PIF files  for each node.   To do this, select
  515.          "Open  Window" from  the  DESQview  manu menu.    Then select  "Add
  516.          Program"  and "Other (Add  program not found  in list)".   You will
  517.          then be  asked to  specify a path  to the  program.  Supply  a node
  518.          directory  for   each  program  you   add.    For   example,  enter
  519.  
  520.  
  521.  
  522.          How to Run Up to Four Nodes With PCBoard and DESQview     Page: 8         How to Run Up to Four Nodes With PCBoard and DESQview     Page: 8
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.          C:\PCB\NODE1,  C:\PCB\NODE2, etc.  Next, you are presented with the
  535.          standard PIF editing screen.
  536.  
  537.          Add a Program Screen:         Add a Program Screen:
  538.  
  539.          Now  you need to set up  PIF files for each  node.  You can specify
  540.          anything  you choose  in  the  "Program Name"  and  "Keys to  Open"
  541.          fields.  The recommended values for the remaining fields follow:
  542.  
  543.          Memory Size: 450K                      450K
  544.          Program: C:\PCB\NODE1\BOARD.BAT       (Change  this value  for each                  C:\PCB\NODE1\BOARD.BAT
  545.          node)
  546.          Directory: C:\PCB\NODE1     (Change this value for each node)                    C:\PCB\NODE1
  547.  
  548.          Writes directly to screen: N                                    N
  549.          Displays graphics info: N                                 N
  550.          Virtualize text: T                          T
  551.          Uses serial ports: Y                            Y
  552.          Requires floppy disk: N                               N
  553.  
  554.          When you are  finished editing that screen, select  F1 for advanced
  555.          options.  You will be presented with another screen.
  556.  
  557.          Change the values  in the "Change a Program -  Advanced Options" to
  558.          resemble the following:
  559.  
  560.          System Memory (in K): 0                               0
  561.          Maximum Program Memory Size (in K): BLANK
  562.          Script Buffer: 0                        0
  563.          Max EMS Memory: BLANK
  564.          Close on Exit: N                        N
  565.          Uses own colors: Y                          Y
  566.          Allow Close: N                      N
  567.          Runs in background: Y                             Y
  568.          Uses Math Coprocessor: N                                N
  569.          Keyboard Conflict: 0                            0
  570.          Share CPU foreground: Y                               Y
  571.          Share EGA foreground: N                               N
  572.          Can be swapped: N                         N
  573.          Protection Level: 0                           0
  574.  
  575.          System Memory:    This should  remain 0  unless you  are running  a                                               0
  576.          program written expressly for DESQview.
  577.  
  578.          Script Buffer: You will not be  using scripts inside of PCBoard  so
  579.          set this to 0.                     0
  580.  
  581.          Close on Exit: Set this to N.   The last line of the new  BOARD.BAT                                    N
  582.          (exit) will take care of closing the window.
  583.  
  584.  
  585.  
  586.  
  587.  
  588.          How to Run Up to Four Nodes With PCBoard and DESQview     Page: 9         How to Run Up to Four Nodes With PCBoard and DESQview     Page: 9
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.          Uses own colors:  Unless you  have no objections to DESQview's  odd
  601.          color assignment set  this to Y so  you can see PCBoard  in all its                                       Y
  602.          glory.
  603.  
  604.          Allow  Close:   By  setting this  to N  you do  not allow  a 'Close                                              N
  605.          Window' command to  be executed from the DESQview  menu.  Remember,
  606.          it is always best to properly exit a program whenever possible.    
  607.            
  608.  
  609.          Runs in background: Set this to Y on all dial-in nodes and set this                                         Y
  610.          to N  on any local maintenance nodes you may  have.  By setting any            N
  611.          local  nodes  to not  be  active  in the  background  you can  save
  612.          precious   processor  time   should   you  accidently   leave  your
  613.          maintenance node running in the background.
  614.  
  615.          Uses  Math Coprocessor: This  field should be  set to N.   You will                                                               N
  616.          save precious memory and may even slightly improve performance.
  617.  
  618.          Can  be swapped:  This should  be set  to N  on any  communications                                                   N
  619.          program you run.  If you set this field to Y you  will cause a hard
  620.          system lock.
  621.  
  622.          Starting Up PCBoard Nodes Using a DESQview Script         Starting Up PCBoard Nodes Using a DESQview Script
  623.  
  624.          In order  to have all of  your nodes load  up every time  you start
  625.          DESQview you will need to use a script.  The following key sequence
  626.          will create a script for starting up to 4 nodes on one machine. 
  627.  
  628.          Initiate  DESQview's script learning mode by hitting SHIFT-DESQview
  629.          (usually ALT).
  630.  
  631.          Select "Start Script", and when prompted for a key to  define, hold
  632.          down ALT while pressing 255 on the numeric keypad.  By assigning it
  633.          to an  obscure key you  lower the chances of  accidently activating
  634.          the script.
  635.  
  636.          Now you must give your script a name.   Make sure it starts with an
  637.          ! (exclamation point) or it will not  be executed when you start up
  638.          DESQview.  Now just open up  all of your nodes manually.   When you
  639.          are  finished, hit ALT-Shift  to tell DESQview  to "Finish script".
  640.          Upon doing  this, the windows will  close; you will need  to reopen
  641.          the script  learning window, select  "Save scripts", and  then save
  642.          the script  you created.    It is  recommended that  you save  this
  643.          script under the name DESQVIEW.DVS.
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.          How to Run Up to Four Nodes With PCBoard and DESQview    Page: 10         How to Run Up to Four Nodes With PCBoard and DESQview    Page: 10
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.          EXAMPLE DOOR BATCH FILES AND ENVIRONMENT VARIABLES         EXAMPLE DOOR BATCH FILES AND ENVIRONMENT VARIABLES         __________________________________________________
  667.  
  668.          Setting up  DOOR programs in  a multitasking environment  may prove
  669.          tricky at first,  but with a little  help your batch files  will be
  670.          easy to create. 
  671.  
  672.          You  can  set  up your  doors  to  each have  their  own individual
  673.          DOORS.LST and have each node call  a separate batch file.  However,
  674.          you  will  assuredly   find  maintenance  a  time-laboring   chore.
  675.          Instead,  we  recommend  that  you  create  one  batch  file  using
  676.          environment variables.
  677.  
  678.          First  of all, it is suggested  that you do not  have a copy of the
  679.          door for each node.   Instead you should only have one  copy of the
  680.          door  for   the  multitasking  machine.    Therefore,  we  have  to
  681.          compensate for a situation where two nodes try to run the same door
  682.          at the same time.  Below you will find various generic examples.
  683.  
  684.               NOTE: Since  there are  so many  DOOR programs  available
  685.               specific configurations for  specific DOOR programs  will
  686.               not be covered.   Instead generic examples  will be given
  687.               for the most popular types of configuration.
  688.  
  689.          Doors that allow configuration files on the command line:         Doors that allow configuration files on the command line:
  690.  
  691.               ECHO OFF
  692.               cd\DOORS\GAME
  693.               GAME GAME%PCBNODE%.CNF
  694.               %PCBDRIVE%
  695.               cd %PCBDIR%
  696.               BOARD
  697.  
  698.          This  example will  replace PCBNODE  with the value  PCBoard V14.5a
  699.          sets it to in your environment.
  700.  
  701.          ECHO OFF:        Turns echo off  so command lines  are not echoed to
  702.                           the screen
  703.  
  704.          CD\DOORS\GAME:   Changes to the directory which contains the DOOR
  705.  
  706.          GAME GAME%PCBNODE%.CNF:  Executes the DOOR using configuration file
  707.                           GAMEn.CNF  (n  is  replaced  by  the  value  of the
  708.                           PCBNODE environment variable).
  709.  
  710.          %PCBDRIVE%:      Changes  to the  drive where  you run  PCBoard node
  711.                           from.  (For example: C: ).
  712.  
  713.          CD %PCBDIR%:     This  changes to  the directory  where you  run the
  714.                           PCBoard node from. (For example: \PCB\NODE3).
  715.  
  716.  
  717.  
  718.  
  719.  
  720.          How to Run Up to Four Nodes With PCBoard and DESQview    Page: 11         How to Run Up to Four Nodes With PCBoard and DESQview    Page: 11
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.          If  you  have  PCBoard set  to  swap  you should  not  rely  on the
  733.          environment variables being  in place.  Therefore, you should place
  734.          the  following statements  beginning  at the  second  line of  each
  735.          node's    BOARD.BAT    file.        For    example,     node    1's
  736.          C:\PCB\NODE1\BOARD.BAT file would have these line added:
  737.  
  738.               set PCBDRIVE=C:
  739.               set PCBDIR=\PCB\NODE1
  740.               set PCBNODE=1
  741.  
  742.          As an  additional example, on  node 2 you  would add the  following
  743.          lines to the C:\PCB\NODE2\BOARD.BAT.
  744.  
  745.               set PCBDRIVE=C:
  746.               set PCBDIR=\PCB\NODE2
  747.               set PCBNODE=2
  748.  
  749.          Make these modifications to each node's batch file.
  750.  
  751.          By setting the  environment variables within each  node's BOARD.BAT
  752.          file, you  eliminate the  difficulty of  managing 4  separate batch
  753.          files which all run the same DOOR.
  754.  
  755.          It  is absolutely  critical that  you do  not rely  on 14.5a's  new
  756.          environment variables  being in the  environment space if  you have
  757.          set PCBOARD to swap on shells to DOS.
  758.  
  759.          DOORs Which Do Not Accept Configuration Files on the Command Line:         DOORs Which Do Not Accept Configuration Files on the Command Line:
  760.  
  761.          Unfortunately, in a situation such as  this you will need to create
  762.          separate  copies of the  DOOR for each  NODE or scrap  the DOOR and
  763.          replace it with one that will work in a multitasking environment.
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.          How to Run Up to Four Nodes With PCBoard and DESQview    Page: 12         How to Run Up to Four Nodes With PCBoard and DESQview    Page: 12
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.          THIRD PARTY SOFTWARE SETUP RECOMMENDATIONS         THIRD PARTY SOFTWARE SETUP RECOMMENDATIONS         __________________________________________
  799.  
  800.          DSZ (ZModem transfer protocol)         DSZ (ZModem transfer protocol)
  801.  
  802.          Your  PCBRZ &  PCBSZ  batch  files  should resemble  the  following
  803.          examples:
  804.  
  805.               PCBRZ.BAT
  806.  
  807.               echo off
  808.               if exist PCBERR.FIL del PCBERR.FIL
  809.               if exist PCBDSZ.LOG del PCBDSZ.LOG
  810.               DSZ F  pY129 handshake both estimate 0 %5  pB4096 pd0 z pr1 rz
  811.               -p %3
  812.  
  813.               PCBSZ.BAT
  814.  
  815.               echo off
  816.               if exist PCBERR.FIL del PCBERR.FIL
  817.               if exist PCBDSZ.LOG del PCBDSZ.LOG
  818.               DSZ F pY129 handshake both pB4096 estimate 0 %5 z sz %3
  819.  
  820.          The  F and  pY129 parameters  are new  to the 'normal'  DSZ command
  821.          line.   These parameters  will help  improve  performance and  will
  822.          cause DSZ to  use less CPU cycles  during DSZ transfers which  will
  823.          speed up the other PCBoard nodes.
  824.            
  825.                NOTE:  All  DSZ commands are case sensitive  and should               NOTE:  All  DSZ commands are case sensitive  and should
  826.                be entered just as you find them in this example.               be entered just as you find them in this example.
  827.  
  828.                NOTE:  The  F and pY129 parameters should  only be used               NOTE:  The  F and pY129 parameters should  only be used
  829.                in conjunction with a NS16550AFN UART.               in conjunction with a NS16550AFN UART.
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.          How to Run Up to Four Nodes With PCBoard and DESQview    Page: 13         How to Run Up to Four Nodes With PCBoard and DESQview    Page: 13
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.          HOOKING UP A MULTITASKING MACHINE ON A NETWORK         HOOKING UP A MULTITASKING MACHINE ON A NETWORK         ______________________________________________
  865.  
  866.          Items to keep in mind when hooking a multitasking machine as a node
  867.          onto an existing local area network:
  868.  
  869.               *  Do not configure a multitasking machine as a server even if
  870.                  the  networking software  allows it.   You  should have  no
  871.                  problem placing a multitasking computer as a workstation.
  872.  
  873.               *  Check  your file location and conference setup.  Change the
  874.                  path for  those files you  wish to share with  the network;
  875.                  for instance, the user file.  
  876.  
  877.               *  Set  "run_burst=1" in  your call  to  your AILANBIOS  line.
  878.                  This will  give more  processing time back  to the  CPU and
  879.                  will help  speed up  your task  switching.   This parameter
  880.                  only works  with Lantastic.   If you are using  a different
  881.                  network, consult your manual.
  882.  
  883.               *  Increase your  tasks in  QEMM.  To  do this  add "tasks=nn"
  884.                  (where  nn is  the number  of  tasks to  allocate) to  your
  885.                  QEMM.SYS line  in CONFIG.SYS.   Set this value to  16 times
  886.                  the number of nodes you plan to run.
  887.            
  888.               *  If you want  to slightly increase network speed  and if you
  889.                  have some conventional memory  to spare, load REDIR  in low
  890.                  memory.
  891.  
  892.  
  893.          SOLUTIONS TO COMMON PROBLEMS         SOLUTIONS TO COMMON PROBLEMS         ____________________________
  894.  
  895.          When I make a change to one  of the conferences (including the Main         When I make a change to one  of the conferences (including the Main
  896.          Board) the change shows up on all of the nodes.  Why?         Board) the change shows up on all of the nodes.  Why?
  897.  
  898.          This is because  all of your  nodes point to  the same CNAMES  file
  899.          (located in PCBSetup, File Locations #1).  The CNAMES file contains
  900.          all conference information and since  you are using one CNAMES file
  901.          you see the changes reflected on all nodes.
  902.  
  903.          The obvious solution would be  to specify different CNAMES files on
  904.          each node.   This is  not recommended  though because any  time you
  905.          made a change  to any conference you  would have to make  that same
  906.          change on each node.  Instead use relative addressing.
  907.  
  908.          Relative addressing depends on where you are.  For example relative
  909.          addressing looks like this:
  910.  
  911.               DOORS.LST
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.          How to Run Up to Four Nodes With PCBoard and DESQview    Page: 14         How to Run Up to Four Nodes With PCBoard and DESQview    Page: 14
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.          Absolute addressing, on the other hand, looks like this:
  931.  
  932.                  C:\PCB\GEN\DOORS.LST
  933.  
  934.          Notice that the  relative addressing example  is missing the  drive
  935.          letter and  the complete path  from the root.   Relative addressing
  936.          then depends  on the current  directory to find the  DOORS.LST file
  937.          within it.
  938.  
  939.          Whenever I  open up  a node's window  it loads  the wrong  node and         Whenever I  open up  a node's window  it loads  the wrong  node and
  940.          sometimes gives a modem reset error?         sometimes gives a modem reset error?
  941.  
  942.          This  is  most  commonly  caused  by changing  to  the  wrong  node
  943.          directory in your BOARD.BAT.   Make sure you change to  the correct
  944.          node  directory before  you  execute PCBoard  so  that the  correct
  945.          PCBOARD.DAT (setup) file is read.
  946.  
  947.          I have  often noticed that  some programs that  wish to run  in the         I have  often noticed that  some programs that  wish to run  in the
  948.          event require that all nodes be down while one node runs the event.         event require that all nodes be down while one node runs the event.
  949.          How can I make sure that all of the nodes are down?         How can I make sure that all of the nodes are down?
  950.  
  951.          The most common solution to this dilemma is to have the other nodes
  952.          run a program which  will wait x minutes while the  other node does
  953.          its processing.  There is a utility available on Salt Air under the
  954.          filename of WAIT4.ZIP.  Your EVENT.SYS files may look like this:
  955.  
  956.  
  957.               Node 1's EVENT.SYS              Node 1's EVENT.SYS
  958.  
  959.               @ECHO OFF
  960.               PCBPACK /AREA:00
  961.               PCBPACK /USERS
  962.               BOARD
  963.  
  964.               Node 2's EVENT.SYS              Node 2's EVENT.SYS
  965.  
  966.               @ECHO OFF
  967.               WAIT4 360
  968.               BOARD
  969.  
  970.               Node 3's EVENT.SYS              Node 3's EVENT.SYS
  971.  
  972.               @ECHO OFF
  973.               WAIT4 360
  974.               BOARD
  975.  
  976.          Using  these example  EVENT.SYS files,  node 1  will pack  both the
  977.          message base  and the users  file and then return  upon completion.
  978.          In the meantime, nodes  2 and 3 will be on hold  for 360 seconds (6
  979.          minutes).   After the 6  minutes are completed, the  EVENT.SYS file
  980.          reloads the BBS by executing the BOARD batch file.
  981.  
  982.  
  983.  
  984.          How to Run Up to Four Nodes With PCBoard and DESQview    Page: 15         How to Run Up to Four Nodes With PCBoard and DESQview    Page: 15
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.          Sometimes when loading PCBoard it just hangs.  What is causing it?         Sometimes when loading PCBoard it just hangs.  What is causing it?
  997.  
  998.          Try disabling your cache.  Some shareware caches have been known to
  999.          cause  problems.   Also,  if this  appears to  be happening  with a
  1000.          particular door make a note  of it and leave a message  on Salt Air
  1001.          detailing what you are seeing.
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.          How to Run Up to Four Nodes With PCBoard and DESQview    Page: 16         How to Run Up to Four Nodes With PCBoard and DESQview    Page: 16
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.          CONCLUSION         CONCLUSION         __________
  1063.  
  1064.          There  are  countless   ways  to  set  up   a  multitasking  system
  1065.          (especially when  placing it  on a network).   This  article covers
  1066.          just a few.
  1067.  
  1068.          As  you  can   see,  setting  up  a  multitasking   system  can  be
  1069.          complicated,  but  the cost  advantages  for running  this  type of
  1070.          system can  be an  advantage for  some.   However, if  you plan  on
  1071.          expanding to  a system with more than  4 nodes, you should consider
  1072.          what a true Local Area Network has to offer.
  1073.  
  1074.          DISCLAIMER         DISCLAIMER         __________
  1075.  
  1076.          The  information  provided  in this  document  is  provided 'as-is'
  1077.          without any warranty of  any type or  guarantee of fitness of  use.
  1078.          The configurations detailed in this document have been used by some
  1079.          systems  however results  may vary  from system  to system  and you
  1080.          assume full responsibility  for trying any of the above suggestions
  1081.          on your system.  It is suggested that before you attempt any of the
  1082.          suggestions listed that you completely back-up your system.
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.          PCBoard is a registered trademark of Clark Development Company.
  1107.          QEMM and DESQview are trademarks of Quarterdeck Office Systems.
  1108.          Lantastic is a trademark of Artisoft.
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.          How to Run Up to Four Nodes With PCBoard and DESQview    Page: 17         How to Run Up to Four Nodes With PCBoard and DESQview    Page: 17
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.